package icu.groot.alan.dao;

import icu.groot.alan.entity.Department;
import icu.groot.alan.entity.Paging;

import java.sql.Connection;
import java.util.List;

public interface DepartmentDao {
    void paging(Paging<Department> paging, Connection connection);
    int getCount(Connection connection, String fuzzyQuery);

    int deleted(Connection connection, int[] idsInt);

    List<Department> getDepAll(Connection connection);

    int add(Connection connection, String name);
}
